package com.ts.api.module.api.convert.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 *  下游-贷超-转换器注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface ApiConsumerMarket {

    /**
     *  贷超主键id
     *
     *  @return String
     */
    String marketId() default "";

    /**
     *  转换器类型
     *
     *  @return String
     */
    ApiConsumerMarketConvertType type() default ApiConsumerMarketConvertType.NULL;
}
